<template>
  <div class="error-page">
    <router-link to>
      <el-button class="to_back" type="text" @click="$router.back()">返回</el-button>
    </router-link>
  </div>
</template>

<script>
export default {
}
</script>

<style scoped>
.error-page {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  background-image: url("../assets/img/404.jpg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 100% 100%;
  background-attachment: fixed;
  padding-top: 10%;
}

.to_back {
  position: absolute;
  bottom: 12%;
  text-decoration: none;
  font-size: 20px;
}
</style>
